﻿using System;
using System.Collections.Generic;
using System.Web.UI.WebControls;
using Medianamik.UI.Web.MVP.View;

namespace Medianamik.UI.Web.Approbation
{
    public partial class PublicationList : ModuleViewWithGrid<IApprobationList>, IApprobationList
    {
        public override bool EnableDelete
        {
            get { return false; }
        }

        public override IMedianamikGrid Grid
        {
            get { return (IMedianamikGrid)ApprobationGrid; }
        }

        public override string ListingPageUrl
        {
            get { return Pages.PublicationList; }
        }

        public override string EditPageUrl
        {
            get { return Core.Pages.ContentManagementEdition; }
        }

        public override string BreadcrumbTrail
        {
            get { return Breadcrumbs.Text; }
            set { Breadcrumbs.Text = value; }
        }

        public override Guid ModuleNodeId
        {
            get { return Modules.Approbation; }
        }

        public bool IsPublishing
        {
            get { return true; }
        }

        public IEnumerable<ListItem> ExactApprobationLevel
        {
            get { throw new NotImplementedException(); }
            set { throw new NotImplementedException(); }
        }
    }
}
